function num(state = 500, {type}) {
    switch (type) {
        case "SET_NUM":
            state += 100
            return state
        case "CHANGE_NUM":
            state += 2000
            return state
        default:
            return state
    }
}

export default num